import express from "express";
import {
    createGroup,
    disbandGroup,
    getGroupAnnounce,
    getGroupBase, getGroupBaseList,
    getGroupMember,
    removeGroupMember,
    updateGroupAnnounce,
    updateGroupBase
} from '../controllers/groupbaseinfo.js';
let router = express.Router();

router.get('/createGroup', createGroup);
router.get('/disbandGroup', disbandGroup);
router.get('/updateGroupBase', updateGroupBase);
router.get('/getGroupBase', getGroupBase);
router.post('/getGroupBaseList', getGroupBaseList);
router.get('/getGroupMember', getGroupMember);
router.get('/updateGroupAnnounce', updateGroupAnnounce);
router.get('/getGroupAnnounce', getGroupAnnounce);
router.get('/removeGroupMember', removeGroupMember);

export default router;


